﻿using JQuery.WebKit.WebCommon;

namespace JQuery.WebKit.Base
{
    public sealed class CommonResources
    {
        public static readonly WebScriptResource XRegExp = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.XRegExp);
        public static readonly WebScriptResource JQuery = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQuery);
        public static readonly WebScriptResource JQueryCustom = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryCustom) { Dependencies = new WebScriptResource[] { JQuery } };
        public static readonly WebScriptResource JQueryUI = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryUI) { Dependencies = new WebScriptResource[] { JQuery } };
        public static readonly WebScriptResource JQueryTools = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryTools) { Dependencies = new WebScriptResource[] { JQuery } };

        //plugins
        public static readonly WebScriptResource JQueryShadow = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryPlugins.JQueryShadow) { Dependencies = new WebScriptResource[] { JQuery } };
        public static readonly WebScriptResource JQueryEasing = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryPlugins.JQueryEasing) { Dependencies = new WebScriptResource[] { JQuery } };
        public static readonly WebScriptResource JQueryCookie = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryPlugins.JQueryCookie) { Dependencies = new WebScriptResource[] { JQuery } };
        public static readonly WebScriptResource JQueryEvenHidden = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryPlugins.JQueryEvenHidden) { Dependencies = new WebScriptResource[] { JQuery } };
        public static readonly WebScriptResource JQueryFormat = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryPlugins.JQueryFormat) { Dependencies = new WebScriptResource[] { JQuery } };
        public static readonly WebScriptResource JQueryStopWatch = new WebScriptResource(typeof(JPage), null, ResourceType.Javascript, Globals.ResourcePaths.JQueryLibraries.JQueryPlugins.JQueryStopWatch) { Dependencies = new WebScriptResource[] { JQuery } };
    }
}
